package day04;

public abstract class Template {

    public abstract void call();

    public final void getT() {
        long start = System.currentTimeMillis();
        call();
        long end = System.currentTimeMillis();
        System.out.println("开始时间：" + start);
        System.out.println("结束时间：" + end);
        System.out.println("时间相差：" + (end - start));
    }
}
